package com.im.app;


import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

import javax.annotation.PostConstruct;
import java.util.Date;

@Slf4j
@SpringBootApplication
@MapperScan("com.im.app.mapper")
@EnableAsync
public class ChatImApplication {

    public static void main(String[] args){
        SpringApplication.run(ChatImApplication.class, args);
    }

}
